package com.tvpush.manage.core.controller.system;


import com.tvpush.manage.common.controller.QueryController;
import com.tvpush.manage.core.entity.system.SysCity;
import com.tvpush.manage.core.service.system.SysCityService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 市控制器
 * </p>
 *
 * @author ouyangzn
 * @since 2019-03-24
 */
@Api(tags = {"省市联动市控制器"})
@RestController
@RequestMapping("/system/region/city")
public class SysCityController implements QueryController<SysCity, SysCity, SysCityService> {

    @Autowired
    private SysCityService sysCityService;

    @Override
    public SysCityService getService() {
        return sysCityService;
    }
}

